package cashpointer.mobile.dao;

import android.net.Uri;
import android.provider.BaseColumns;

public class DaoModel {
	public static final String AUTHORITY = "cashpointer.mobile.dao";

    // Uniemozliwia utowrzenie instancji klasy
	private DaoModel() {}

    /**
     * Sieci bankomatow
     * Notes table
     */
    public static final class Owners implements BaseColumns {
        // Uniemozliwia utworzenie instancji klasy
    	private Owners() {}

        /**
         * The content:// style URL for this table
         */
        public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/owners");

        /**
         * The MIME type of {@link #CONTENT_URI} providing a directory of notes.
         */
        public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.cashpointer.owner";

        /**
         * The MIME type of a {@link #CONTENT_URI} sub-directory of a single note.
         */
        public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.cashpointer.owner";

        /**
         * Domyslne sortowanie
         */
        public static final String DEFAULT_SORT_ORDER = "name ASC";

        /**
         * Nazwa sieci bankomatow
         * <P>Type: TEXT</P>
         */
        public static final String NAME = "name";

        /**
         * Czy siec jest brana pod uwage przy wyszukiwaniu
         * <P>Type: BOOLEAN</P>
         */
        public static final String SELECTED = "selected";
    }

    /**
     * Wojewodztwa
     * Regions table
     */
    public static final class Regions implements BaseColumns {
        // Uniemozliwia utworzenie instancji klasy
    	private Regions() {}

        /**
         * The content:// style URL for this table
         */
        public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/regions");

        /**
         * The MIME type of {@link #CONTENT_URI} providing a directory of regions.
         */
        public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.cashpointer.region";

        /**
         * The MIME type of a {@link #CONTENT_URI} sub-directory of a single region.
         */
        public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.cashpointer.region";

        /**
         * Domyslne sortowanie
         */
        public static final String DEFAULT_SORT_ORDER = "name ASC";

        /**
         * Nazwa wojewodztwa
         * <P>Type: TEXT</P>
         */
        public static final String NAME = "name";
    }

    /**
     * Powiaty
     * Countries table
     */
    public static final class Countries implements BaseColumns {
        // Uniemozliwia utworzenie instancji klasy
    	private Countries() {}

        /**
         * The content:// style URL for this table
         */
        public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/countries");

        /**
         * The MIME type of {@link #CONTENT_URI} providing a directory of regions.
         */
        public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.cashpointer.country";

        /**
         * The MIME type of a {@link #CONTENT_URI} sub-directory of a single region.
         */
        public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.cashpointer.country";

        /**
         * Domyslne sortowanie
         */
        public static final String DEFAULT_SORT_ORDER = "name ASC";

        /**
         * Nazwa powiatu
         * <P>Type: TEXT</P>
         */
        public static final String NAME = "name";
        
        /**
         * Identyfikator wojewodztwa
         * <P>Type: TEXT</P>
         */
        public static final String REGION_ID = "regionId";
    }

    /**
     * Bankomaty
     * Cashpointers table
     */
    public static final class Cashpoints implements BaseColumns {
        // Uniemozliwia utworzenie instancji klasy
    	private Cashpoints() {}

        /**
         * The content:// style URL for this table
         */
        public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/cashpoints");
        
        /**
         * Specjalne URI dla szukania za pomoca SQL zapytania
         */
        public static final Uri CONTENT_URI_TOP_10 = Uri.parse("content://" + AUTHORITY + "/top10cashpoints");

        /**
         * The MIME type of {@link #CONTENT_URI} providing a directory of regions.
         */
        public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.cashpointer.cashpoint";

        /**
         * The MIME type of a {@link #CONTENT_URI} sub-directory of a single region.
         */
        public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.cashpointer.cashpoint";

        /**
         * Domyslne sortowanie
         */
        public static final String DEFAULT_SORT_ORDER = "addressCity ASC";

        /**
         * Unikalny kod bankomatu
         * <P>Type: TEXT</P>
         */
        public static final String HASHCODE = "hashcode";
        
        /**
         * Identyfikator powiatu
         * <P>Type: TEXT</P>
         */
        public static final String COUNTRY_ID = "countryId";
        
        /**
         * Identyfikator wlasciciela
         * <P>Type: TEXT</P>
         */
        public static final String OWNER_ID = "ownerId";
        
        /**
         * Szerokosc geograficzna
         * <P>Type: TEXT</P>
         */
        public static final String ADDRESS_LATITUDE = "addressLatitude";
        
        /**
         * Dlugosc geograficzna
         * <P>Type: TEXT</P>
         */
        public static final String ADDRESS_LONGITUDE = "addressLongitude";

        /**
         * Informacja dodatkowa
         * <P>Type: TEXT</P>
         */
        public static final String ADDRESS_INFO = "addressInfo";

        /**
         * Nazwa miasta
         * <P>Type: TEXT</P>
         */
        public static final String ADDRESS_CITY = "addressCity";

        /**
         * Nazwa miasta - uproszczona
         * <P>Type: TEXT</P>
         */
        public static final String ADDRESS_CITY_SIMPLE = "addressCitySimple";

        /**
         * Nazwa ulicy
         * <P>Type: TEXT</P>
         */
        public static final String ADDRESS_STREET = "addressStreet";

        /**
         * Nazwa ulicy - uproszczona
         * <P>Type: TEXT</P>
         */
        public static final String ADDRESS_STREET_SIMPLE = "addressStreetSimple";
        
        /**
         * Czas otwarcia punktu z bankomatem
         * <P>Type: TEXT</P>
         */
        public static final String TIME = "time";
        
        /**
         * Czy dany bankomat zostal zaznaczony jako ulubiony
         * <P>Type: TEXT</P>
         */
        public static final String MARKED = "marked";
    }
}
